import java.util.Date;

public class TimeTest {

    public static void main(String[] args) {
        System.out.println(System.currentTimeMillis());

        System.out.println(new Date(System.currentTimeMillis()));
    }

}
